//
//  CCUIMessageBox.m
//  CCFC_IPHONE
//
//  Created by  xuchen(陈旭)， xichen(陈曦)， qq：511272827 on 10-10-31.
//  Copyright 2010 cc_team. All rights reserved.
//

#include "CCAll.h"

#ifdef	OBJC_MACRO

#import "CCUIMessageBox.h"

// 显示消息框
UIAlertView *showMessageView(const NSString *title, 
							 const NSString *msg, 
							 const NSString *sureBtnTitle,
							 id delegate)
{
	UIAlertView *alert = [[UIAlertView alloc]
						  initWithTitle:(NSString *)title
						  message:(NSString *)msg
						  delegate:delegate
						  cancelButtonTitle:(NSString *)sureBtnTitle
						  otherButtonTitles:nil];
	[alert show];
	
	return [alert autorelease];
}

@implementation CCUIMessageBox

@end

#endif	//OBJC_MACRO
